<?php

//订单管理
use think\facade\Route;

//订单管理
Route::group('order', function () {
    Route::get('/page', 'merchants/order/order_page');
    Route::post('/add', 'merchants/order/order_add');
    Route::post('/add_order_product', 'merchants/order/order_product_add');
    Route::get('/info', 'merchants/order/order_info');
    Route::post('/excel_lead', 'merchants/order/order_excel_lead');
    Route::get('/excel_send', 'merchants/order/order_excel_send');
    Route::post('/submit', 'merchants/order/order_submit');
});

//门店库存管理
Route::group('shop_stock',function (){
    Route::get('/page', 'merchants/shop_stock/shop_page');
    Route::post('/shop_save_warn', 'merchants/shop_stock/shop_save_warn');
    Route::post('/shop_save_stock', 'merchants/shop_stock/shop_save_stock');
    Route::get('/info', 'merchants/shop_stock/shop_info');
});


//商品库存管理
Route::group('shop_product_stock', function () {
    Route::get('/page', 'merchants/shop_stock/shop_product_stock');
});
